<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class YjIntos extends Model
{
    //

    protected   function  SaveNewConsultantMessage($data){

        return self::insertGetId($data);
    }

    protected  function  getMessageByOpenid($open_id){

        return self::where("open_id",$open_id)->first() ;
    }
}
